home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_povray.idb / usr / freeware / lib / povray31 / allscene.sh.z / allscene.sh
Encoding:
Linux/UNIX/POSIX Shell Script  |  1999-04-16  |  613 b   |  13 lines

  1. #!/bin/sh
  2. # This will find all of the .pov scenes in the current directory tree,
  3. # and render them.  It will also render the first frame of all the
  4. # animations, but not the whole thing, because there are no common Unix
  5. # animation utilities to convert all the files.  Customize to your liking.
  6.  
  7. # Be sure to remove complete.lst if you want to re-render the scenes.
  8. # It is sort of a kuldge because we can't simply test for the existence
  9. # of the output files, as this would prevent us from resuming interrupted
  10. # renderings.
  11. echo "" >> complete.lst
  12. find . -name "*.pov" -exec nice povray allscene.ini +i \{\} \;
  13.